vlib work

vmap work  work


vlog ../hdl/DES_top.v
vlog ../hdl/Initial_Permutation.v
vlog ../hdl/Final_Permutation.v
vlog ../hdl/Expansion_Function.v
vlog ../hdl/Left_Right_Swap.v
vlog ../hdl/Left_Shift1.v
vlog ../hdl/Left_Shift2.v
vlog ../hdl/Permutation.v
vlog ../hdl/Permuted_Choice_1.v
vlog ../hdl/Permuted_Choice_2.v
vlog ../hdl/Memory.v
vlog ../hdl/S_Box_S1.v
vlog ../hdl/S_Box_S2.v
vlog ../hdl/S_Box_S3.v
vlog ../hdl/S_Box_S4.v
vlog ../hdl/S_Box_S5.v
vlog ../hdl/S_Box_S6.v
vlog ../hdl/S_Box_S7.v
vlog ../hdl/S_Box_S8.v
vlog ../hdl/XOR32.v
vlog ../hdl/XOR48.v

vlog ../testbench/DES_top_tb.v

#replace the following *testbench* with YOUR testbench name
vsim work.DES_top_tb -t 1ns

run -all


